﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CityGateway.Objects
{
    [Serializable]
    [DataContract]
    public class CityElement
    {


        public CityElement()
        {
            //  this.Population = new List<Citizen>();
        }


        [DataMember]
        public DateTime CreateDate { get; set; }


        [DataMember]
        public DateTime UpdateDate { get; set; }


        [DataMember]
        public double X { get; set; }

        [DataMember]
        public double Y { get; set; }


        [DataMember]
        public int GridRow { get; set; }



        [DataMember]
        public int GridColumn { get; set; }


        [DataMember]
        public string Type { get; set; }


        [DataMember]
        public bool IsPopulated { get; set; }



        [DataMember]
        public CityElementType ElementType { get; set; }



        //[DataMember]
        //public CityElementSubType ElementSubType { get; set; }

                [DataMember]
        public CityElementOrientation  ElementOrientation { get; set; }
        


        [DataMember]
        public string CityElementDesign { get; set; }

        [DataMember]
        public long ConnectionID { get; set; }


        [DataMember]
        public int Capacity { get; set; }


        [DataMember]
        public CityElementStage ElementStage { get; set; }


        [DataMember]
        public CursorType CursorType { get; set; }


        [DataMember]
        public int Polution { get; set; }


    }


}
